package com.lxm.common.contants;

public abstract class UserConstants {
    //用户消息提示
    public static final String USER_NICKNAME_REGISTER_EXIST = "用户昵称已经存在，请重新输入昵称";
    public static final String USER_EMAIL_FORMAT_ERROR = "邮箱格式不正确";
    public static final String USER_PASSWORD_FORMAT_ERROR = "密码格式不正确,密码至少设置四位字符";
    public static final String USER_PHONE_FORMAT_ERROR = "手机号号码格式不正确";
    public static final String USER_PHONE_REGISTER_EXIST = "该手机号已被注册";
    public static final String USER_REGISTER_FAIL = "注册失败,检查是否有必填信息未填写！";
    public static final String USER_REGISTER_SUCCESS = "注册成功!";
    public static final String MODIFY_PASSWORD_FAIL = "修改密码失败!";
    public static final String MODIFY_PASSWORD_SUCCESS = "修改密码成功!";
    public static final String CODE_EXPIRE = "验证码已过期，请重新获取!";
    public static final String CODE_ERROR = "验证码错误，请重新输入!";
    public static final String OLD_PASSWORD_ERROR = "原密码错误,请重新输入!";
    public static final String USER_ALREADY_DELETE = "用户信息已注销！";
    public static final String USER_DELETE_SUCCESS = "注销成功!";
    public static final String USER_MODIFY_FAIL = "用户信息修改失败,昵称已存在！";
    public static final String USER_MODIFY_SUCCESS = "用户信息修改成功！";
    public static final String USER_EMAIL_REGISTER_EXIST = "邮箱已被注册";
    public static final String MODIFY_NICK_NAME_AND_ICON_FAIL = "用户修改昵称或者头像失败，昵称已存在";

    //Redis前缀常量
    public static final String USER_PHONE = "user:phone:";
    public static final String USER_TOKEN = "token:";
    public static final Long JWT_EXPIRE = 15L;

}
